package com.iot08.common.entity.app;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.io.Serializable;
import java.util.Date;

/**
 * @author cwj
 * @description
 * @date 2025/7/6 15:11
 **/
@Data
@Document("device_single_chat_group")
public class DeviceSingleChatGroup implements Serializable {

    //两个IMEI的组合（imeiA&imeiB或imeiB&imeiA,规则定义imei小的在前，大的在后）
    @Id
    private String id;

    @Field("t")
    private Double timestamp;

    private Date createTime;
}
